<%@ page import="books4africa.Fulfillment" %>



<div class="fieldcontain ${hasErrors(bean: fulfillmentInstance, field: 'shipQty', 'error')} required">
	<label for="shipQty">
		<g:message code="fulfillment.shipQty.label" default="Ship Qty" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="shipQty" required="" value="${fieldValue(bean: fulfillmentInstance, field: 'shipQty')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: fulfillmentInstance, field: 'requests', 'error')} required">
	<label for="requests">
		<g:message code="fulfillment.requests.label" default="Requests" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="requests" name="requests.id" from="${books4africa.BookRequest.list()}" optionKey="id" required="" value="${fulfillmentInstance?.requests?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: fulfillmentInstance, field: 'shipDate', 'error')} required">
	<label for="shipDate">
		<g:message code="fulfillment.shipDate.label" default="Ship Date" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="shipDate" precision="day"  value="${fulfillmentInstance?.shipDate}"  />
</div>

